<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var urls=[];
			var str1="<img src='http://www.jb51.net/images/logo.gif' alt='' width='142' height='55' /><img src='http://www.jb51.net/imassges/logo.gif' alt='' width='14ee2' height='55' />"
			var str="<img src='http://www.jb51.net/images/logo.gif' alt='' width='142' height='55' />";
			str1.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, function (match, capture) {
  				urls.push(capture);
  				
			});
			console.info(urls);
			
			
		</script>
	</body>
</html>
